package com.glodon.ggzy.fwpt.controller;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * 
 * 诚信业绩处理控制器
 * @author yangjf
 * @date 2013/06/11 
 */
@Controller
public class CxyjController {

	protected Logger logger = LoggerFactory.getLogger(getClass());

	/**
	 * 获取诚信业绩集合
	 * @param model
	 * @return
	 */
	@RequestMapping("/fwpt/cxyj_list")
	public String getCxyjList(Model model) {
		return "/fwpt/cxyj_list";
	}

	/**
	 * 获取诚信业绩-建设工程集合
	 * @param model
	 * @return
	 */
	@RequestMapping("/fwpt/cxyj_jsgc_list")
	public String getCxyjJsgcList(Model model) {
		//List<CxyjProject> list = cxyjProjectService.getCxyjProjectListByType("jsgc");
		model.addAttribute("list", null);
		return "/fwpt/cxyj_jsgc_list";
	}

	/**
	 * 获取诚信业绩-建设工程详情
	 * @param model
	 * @return
	 */
	@RequestMapping("/fwpt/cxyj_jsgc_detail")
	public String getCxyjJsgcDetail(Integer prjId, Model model) {
		//CxyjProject detail = cxyjProjectService.getCqjyProjectById(prjId);
		model.addAttribute("detail", null);
		return "/fwpt/cxyj_jsgc_detail";
	}

	/**
	 * 获取诚信业绩-政府采购集合
	 * @param model
	 * @return
	 */
	@RequestMapping("/fwpt/cxyj_zfcg_list")
	public String getCxyjZfcgList(Model model) {
		//List<CxyjProject> list = cxyjProjectService.getCxyjProjectListByType("zfcg");
		model.addAttribute("list", null);
		return "/fwpt/cxyj_zfcg_list";
	}

	/**
	 * 获取诚信业绩-政府采购详情
	 * @param model
	 * @return
	 */
	@RequestMapping("/fwpt/cxyj_zfcg_detail")
	public String getCxyjZfcgDetail(Integer prjId, Model model) {
		//CxyjProject detail = cxyjProjectService.getCqjyProjectById(prjId);
		model.addAttribute("detail", null);
		return "/fwpt/cxyj_zfcg_detail";
	}

	/**
	 * 获取诚信业绩-产权交易集合
	 * @param model
	 * @return
	 */
	@RequestMapping("/fwpt/cxyj_cqjy_list")
	public String getCxyjCqjyList(Model model) {
		//List<CxyjProject> list = cxyjProjectService.getCxyjProjectListByType("cqjy");
		model.addAttribute("list", null);
		return "/fwpt/cxyj_cqjy_list";
	}

	/**
	 * 获取诚信业绩-产权交易详情
	 * @param model
	 * @return
	 */
	@RequestMapping("/fwpt/cxyj_cqjy_detail")
	public String getCxyjCqjyDetail(Integer prjId, Model model) {
		//CxyjProject detail = cxyjProjectService.getCqjyProjectById(prjId);
		model.addAttribute("detail", null);
		return "/fwpt/cxyj_cqjy_detail";
	}

	/**
	 * 获取诚信业绩-土地房产集合
	 * @param model
	 * @return
	 */
	@RequestMapping("/fwpt/cxyj_tdfc_list")
	public String getCxyjTdfcList(Model model) {
		//List<CxyjProject> list = cxyjProjectService.getCxyjProjectListByType("cqjy");
		model.addAttribute("list", null);
		return "/fwpt/cxyj_tdfc_list";
	}

	/**
	 * 获取诚信业绩-土地房产详情
	 * @param model
	 * @return
	 */
	@RequestMapping("/fwpt/cxyj_tdfc_detail")
	public String getCxyjTdfcDetail(Integer prjId, Model model) {
		//CxyjProject detail = cxyjProjectService.getCqjyProjectById(prjId);
		model.addAttribute("detail", null);
		return "/fwpt/cxyj_tdfc_detail";
	}
}
